package responses

import (
	"im/model"
)

type GetGroupsMessages struct {
	List   []model.GroupsMessages `json:"list"`
	Cursor int                    `json:"cursor"`
}
type GroupsUsers struct {
	model.GroupsUsers `xorm:"extends"`
	Avatar            string `json:"avatar"`
}

type GroupUsersFormatted struct {
	GroupsUsers
	RoleName string `json:"role_name"`
}
type GetGroupsUsers struct {
	Managers []GroupUsersFormatted `json:"managers"`
	Members  []GroupUsersFormatted `json:"members"`
}
